import request from '@/utils/request';
// 查询到期月度分布  表格
export function getMaturityAmountMonthlyDistribution(params) {
  return request({
    url: 'hermes/customer/trade/getMaturityAmountMonthlyDistribution',
    method: 'get',
    params,
  });
}

// 查询到期月度分布  图表
export function getMaturityAmountDailyDistribution(params) {
  return request({
    url: 'hermes/customer/trade/getMaturityAmountDailyDistribution',
    method: 'get',
    params,
  });
}

// 交易明细
export function getTradeInfoDetails(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoDetails',
    method: 'get',
    params,
  });
}


// 查询交易大类分布总和
export function getTradeInfoByTradeType(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoByTradeType',
    method: 'get',
    params,
  });
}

// 查询交易大类分布
export function getTradeInfoByTradeTypeTotal(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoByTradeTypeTotal',
    method: 'get',
    params,
  });
}


// 查询交易大类统计 买入/卖出
export function getTradeInfoStatisticsByTradeDirection(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoStatisticsByTradeDirection',
    method: 'get',
    params,
  });
}

// 查询交易大类统计 轧差
export function getTradeInfoStatisticsNetting(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoStatisticsNetting',
    method: 'get',
    params,
  });
}
// 查询交易大类统计 总流量
export function getTradeInfoStatisticsFlow(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoStatisticsFlow',
    method: 'get',
    params,
  });
}

// 交易大类排名金额
export function getTradeInfoStatisticsRankingByAmount(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoStatisticsRankingByAmount',
    method: 'get',
    params,
  });
}

// 交易大类排名数量
export function getTradeInfoStatisticsRankingByCount(params) {
  return request({
    url: 'hermes/customer/trade/getTradeInfoStatisticsRankingByCount',
    method: 'get',
    params,
  });
}


// 交易大类类型
export function getTradeTypes(params) {
  return request({
    url: 'hermes/customer/trade/getTradeTypes',
    method: 'get',
    params,
  });
}